package cn.wolfcode.p2p.base.domain;


import lombok.Getter;
import lombok.Setter;

/**
 * 用户的登陆信息
 */
@Setter
@Getter
public class LoginInfo {
    //正常
    public static final int STATE_NORMAL = 0;
    //锁定
    public static final int STATE_LOCK = 1;

    //前台用户
    public static final int TYPE_WEBSITE = 0;
    //后台用户
    public static final int TYPE_MGRSITE = 1;

    /**
     * id
     */
    private Long id;
    /**
     * 用户名
     */
    private String username;
    /**
     * 密码
     */
    private String password;

    /**
     * 状态:1为锁定,0为正常状态
     */
    private Integer state = STATE_NORMAL;

    /**
     * 用户的状态
     */

    private Integer userType = TYPE_WEBSITE;

    /**
     * 是否是客服
     */
    private boolean isCustomerService = false;


}